package com.ruizhong.centercontroll.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_button_format")
public class TButtonFormat {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String textChinese;
    private String textTraditional;
    private String textEnglish;
    private String background;
    private Double rotate;
    private String fontColor;
    private String displayVariableName;
    private String displayVariableValue;
    private Integer conditionShowData;
    @TableField(exist = false)
    private Boolean conditionShow;

    private Integer fontSize;

    @TableField(exist = false)
    private List<TCommand> clickCommandList;

    @TableField(exist = false)
    private String type;

    private String backgroundColor;

    private Integer borderCorner;

    private String formatName;
}
